<template>
  <div class="recom">
    <div v-for="item in reacommends" :key="item.link" class="recom-item">
      <div>
        <a :href="item.link"><img :src="item.image" /></a>
      </div>
      <div>
        {{ item.title }}
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: ["reacommends"],
};
</script>

<style scoped>
.recom {
  display: flex;
  padding: 10px 0 20px;
  border-bottom: 8px solid #eee;
}
.recom-item {
  text-align: center;
  flex: 1;
}
.recom-item img {
  width: 65px;
  height: 65px;
}
</style>
